#[async_trait]
pub trait ServiceChecker {
    async fn check_service(&self, service_name: &str) -> io::Result<ServiceStatus>;
}

pub struct SshServiceChecker {
    connection: SshConnection,
}

#[async_trait]
impl ServiceChecker for SshServiceChecker {
    async fn check_service(&self, service_name: &str) -> io::Result<ServiceStatus> {
        // 实现 SSH 服务检查逻辑
    }
}